#ifndef __UDPSOCKET_H_
#define __UDPSOCKET_H_



#include "Socket.h"

class DECLSPEC CUDPSocket : public CSocket
{
public:
	/**
	 * Send some message in this function
	 * @param strMSG : The message that you want to send 
	 * @return : Send result
	 */
	virtual int Send(const std::string strMSG);

	/**
	 * Recv some message in this function
	 * @param strMSG : Get message buffer
	 * @return : Recv result
	 */
	virtual int Recv(std::string &strMSG);

protected:
	CUDPSocket();
	CUDPSocket(const CUDPSocket &__instance);
	CUDPSocket& operator = (const CUDPSocket &__instance);
};

#endif // !__UDPSOCKET_H_
